BannedUserListAdapter

open class BannedUserListAdapter : UserTypeListAdapter<T>

BannedUserListAdapter provides a binding from a User set to views that are displayed within a RecyclerView.

Functions

Link copied to clipboard
protected open fun getItemViewDescription(@NonNull context: Context, @NonNull user: User): String
Returns the description to be shown in item view.
Link copied to clipboard
protected open fun isCurrentUserOperator(): Boolean
Returns whether the current user is operator or not.
Link copied to clipboard
open fun setItems(@NonNull userList: List<User>, @NonNull myRole: Role)
Sets the to be displayed.